package com.twu.bm.football;

import java.io.PrintStream;

public class ListOption implements MenuOption {

    private PrintStream printStream;
    private League league;

    public ListOption (PrintStream printStream, League league) {
        this.printStream = printStream;
        this.league = league;
    }

    public void performAction() {
        league.print(printStream);
    }
}
